<%@ page import="com.goodedeeds.webapp.controller.AddressAction" %>
<%--@elvariable id="actionBean" type="com.goodedeeds.webapp.controller.AddressAction"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/jsp/include/taglibs.jsp"%>
<div style="text-align: center; font-size: 1.5em;">Edit Address</div>
<stripes:form action="<%=AddressAction.URL%>" method="post">
    <div>Parent Resource Id: <stripes:text name="parentResourceId" readonly="readonly"/></div>
    <div>Parent Resource Type: <stripes:text readonly="readonly" name="parentResourceType"/></div>
    <div>Address Id: <stripes:text name="addressId" readonly="readonly"/></div>
    <div>address1: <stripes:text name="address.address1"/></div> ${actionBean.address.zip}
    <div>address2: <stripes:text name="address.address2"/></div>
    <div>city: <stripes:text name="address.city"/></div>
    <div>state: <stripes:text name="address.state"/></div>
    <div>zip: <input type="text" name="address.zip"/></div>
    <stripes:submit name="save" value="Save"/>
</stripes:form>
